package com.woniuxy.order.feign;

import com.woniuxy.core.model.Result;
import com.woniuxy.stall.dao.StallInfo;
import com.woniuxy.user.dao.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "user-server")
@ComponentScan
public interface UserInfoClient {

    @GetMapping("/user/userInfo/loadAllUserinfobyId")
    Result<UserInfo> loadAllUserinfobyId(@RequestParam("userInfoId") Integer userInfoId);

    @GetMapping("/user/userInfo/loadAllUserinfosss")
    Result<Boolean>  loadAllUserinfosss(@RequestParam("id") String id);
}
